<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.prime.com.tr/ui">

<h:head>

</h:head>
<h:body>
	<h:form id="listOfAddress">
		<p:dataTable var="adress" value="#{adressPage.adresses}">

         	
			<p:column>
				<f:facet name="header">
                    <h:outputText value="First name" />
            	</f:facet>
				<h:outputText value="#{adress.plz}" />
			</p:column>

			<p:column>
				<f:facet name="header">
    	        	<h:outputText value="Last name" />
        	    </f:facet>
				<h:outputText value="#{adress.city}" />
			</p:column>

		
		</p:dataTable>

	</h:form>
</h:body>
</html>